package com.hn.vue.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.List;

/**
 * hanni
 * 2019/3/6 0006
 * 11:22
 */
@RestController
@RequestMapping("/shop")
public class ShopController {

    @GetMapping("/list")
    public List<String> list(){

        return Arrays.asList("手机","口红","背包");
    }
}
